updated password generator