update to 2.40.0