use diff.comparand to map changed