change dictionary.category api