update gantry to v4.0.1