Properly render edit/update for test location