updated box calibration