update version to 0.4.0
publish 0.4.0
bump to next snapshot