Add password update function