update key config for ac