add editor for category feilds