update gal-sim to v0.4