Fixed the PUT method