update fileinfo