added dependent destroy and name presence