add transaction in save measurement, insert download data