Integrated encodeToBSON into rewind / insert / remove / update