updating the header