Update functions for underlining