PUT and DELETE methods working