Update pathways.R