reshaping controllers to do PUT requests.