update elements via event callback