Updated MeasurementsController to insert facts.