update name to be smarter