make sure changed password is saved