better clickstream updates, json formatting example