use new schema for category parent relation in model and adapt clients