add pv and comments number, notice not to close db before data manipulation is done