updated PUT/PATCH response to array