Implemented refresh() method