merge in extra headers on updateMetadata()
now allows settings of other headers