updating the StringApp class.