Change key method.