small fix for updateMetadata() to permit setting other headers

The key line is 418 but my editor strips trailing spaces so a bunch of others got modified, too.