update test and wire category to permissions form