Update name-checking functionality.