Code for upgrading the site