update the headerDetails