Update to 1.40 (last official release)