update for rename of methods from str to string