updated the factor graph library