updated sql, version and readme.
Merge branch 'release-0.4' into develop