Update object creation and attribute setter & getter