Updating file header