Making the method for updating measurements public