updates to edges