fixed update of fsty stats between sqlite3/pg