added functionality -pull to refresh