change category reference to ids