change dbupload to overwrite the same file