edited upload statement