update pid W/R