update category field parent and file