PUT method

This PR adds the PUT method.