Update URLs for assets.
Fix the "purge existing assets" code.