update key script for remap