Implemented the entity framework, and changed the cells to be entitys instead of objects. Still cannot update correctly. Comented a line on system.cpp. It seems that the problem comes from typeid returning the same from all the childs of Node