add partialdiff trigger