The variable naminf in updateStreams is better, and the fs functions actually use the correct variable.