Revert "no longer using txns for saving data points"

This reverts commit 94b38eaf27054203bd1c50066fdffb4c80ebbe04.