add log to update table