Added refresh methods to task2