Added refresh() method