Update to rig v0.5