add support to histograms
add histograms to demo
update version