update logStream/index.js