Fixed issue with updating passwords