updated back and edit links for units