change analytics to use new async storage