dynamic category changes on UI and backend