fixed pathogen and added update script