update secret key