update get string from input stream