change Piece type