Update machine headers on add/remove.