update gantry to v4.0.2