Added update function for facts.