updating with the papply script