update to v0.4.0

resolve #1