added a pull to refresh function