Update mode-hooks