Refactoring sub attributes update fonctionnality, remove eval function use with cleaner solution