Update deprecated endpoint for updating data

This endpoint was deprecated a while ago.