[hooks] Update modification_date of root entity when commented [reviewed]