modify uploadController