Update pw to inputSecret field