change _type field to measure_type
get data immediately instead of tasking