key_commit: tweak for updating mtg codes