Update the code base as per expressjs 4.0