add crumbs (parents) to the category of a resorce