update release branch to 0.40.1