update configuration for token