Update Generate Pwd and Password validation