Update LogicalElement.cpp