Table measurments added in main. Added parameter update in main