Implemented pieces editing