adding header and updating text