generate token on save
revert token time