- add handlers for put and delete requests