Fix PUT method.