Update hardcoded references when uploading