link from trail to favorites
add update to trail and add helper function for rendering update