adding changes for category controller