add put request for updates