password validation upadated