[UPDATE] poolstats rewrite