Added refresh method on server side