update version 0.3.1 -> 0.4.0

for next set of features