updates command key escape