update String functions