fixing edit links, updating avalon, changing sessions to sections