Updating the key