add diff operation to web2 project