Update database table.