setLayerEdits almost ok. setDeletedAttributes to review