Updating secret key stuff