use a template for edge labels as well; next is to get them to actually update