modified add update and delete category type