updated element to use the new linked fields function