Rather than updating the system table directly you should use sp_change_users_login to correct orphan users.