Update the changeKey Method

Added support for changeKey method with the new key system.