added pw update and a few misc changes