Fix live update of diff