Updating the key.