update deps and bump to v0.4.0