table can update info when inserting new file