Updates header code for elements