Add put and delete method for /locations/