Updated the code for creating measure tables