Switch the update function to requests