Added a refresh method