update with table