Improved updates script.