Add the method put for the API request