Endpoint for updating photos