Update usage of express's APIs for express 4.9.x