Updated using input stream