update pathgen