update library for express-4 compatibility