Update parent category when create or edit category with version 3.1.0