update for batch on mysql measures and need to add base until the aggregation changes