more updates to analytics cookbook