update name of function for haivl-mode