update secure key