add diff preview