update_fileinfo, mostly addresses issue 12