add delta in resource loading callback