Update upload.php

Quick data upload fix