ID's and meshes both have update functions, call the meshes rather then update_tag() for recalculating edges.