replace context for instrumented new operations