update ace keys and calculator mode