bump version to 0.40.0