update elements object defs