Adding property to edges