update for pw change within R