changing PUT to PATCH