[change] index.js morgan api change