update function get url and edit taxonomy-retax template