Attribute For both default behaviour and navigation up

remove delete for both attribute to reduce complication programming
Improve duplicatechecking so when detected same attribute same compare type it will update itself