set last name and attributes