change parent category link to model function