Refreshes stats attached to an object

def refresh(self, **kwargs):
        """Refreshes stats attached to an object"""
        self.resource.refresh(**kwargs)
        self.rdict = self.resource.entries
        self._update_stats()