modify update script to use ghost (headless webkit browser)
restore update script behaviour