update table
update reference