use SQL to log all updates and reports