update the secure key