first version of osm apply-diff operation