updates for the shared-key token code