update function parent category link