update utility functions