updated rectangle querying last 30 days