Add rename tag function to token manager.