update html template for relationships