update for new String API