prepare final release for 2.40.0