Changed refresh method