Update upload code for new website.