reset context
add diff operation