Endpoint for updating IDs