add log to update table 2