fix update for passwd checking