Rename measurements table and update calculations.