Update core to 0.4.2