updated logs and salesAnalytics.sql