Change key generation seq