It appears that when you change signaturelocation to "header" rather than "headers", the user prefernces are being updated. I don't think this is desired behavior. I didn't test other flags. Thanks