updated DeployPieceCounter