update spire to 0.4.0-M1