Update parent category type on insertion of new category under it.