Update version to 0.8.40