update to new WebContext contract