Wie kann man einen Benutzer anhand der external_id aktualisieren?

You will first need to lookup the user’s Discourse user_id, then make an update request using that. This should help with the first bit:

3 „Gefällt mir“