update rework count fix