add the possibility to only update the segment usage when cleaning