improve build script to update changelog automatically
bump version to 0.5.0