copy changes to header