updating parsing with string stream