Fix mode line update