apply deltas