Update pieces.js file