updated diff editor