changed categories controller