update express render method to match async API