update remove key script