updated put request