delete refresh method