'put' to 'patch' in request method