Adding PUT and POST methods