update table and text