fix password vanishing after update