Added update function

I added in logic for update function which was empty. Haven't tested yet, but function is simple and uses process consistent with other request functions.