automatic refresh when a request is successful.