update express endpoint for express4