updated the upload php file