upgrade web_assets and fix syntax deprecations