adds _updateTemplate to ChallengeGraph constructor

(github - fixes #50)