update fileinfo on upload