Update notes for submitted changes

* fix statistics query in postgres