Update category entity to save list of parent categories