updated the pasword validations