Change key_codes structure