support for PUT, updating invalid input handling