update secret key to be dynamic and random