edit key config