added available and assigned categories to edit page