How can I set a meta value that will then affect other post meta values?

If you really want to have only one post id and a value attached to it, well i think it will be better to store in options table using add_option and then using it using get_option….. that way you will be saved from headache of updating all posts meta at once when any of post is updated…..