Updated categorycontroller for params