Update markdown auto update logic.