Update framework version to 4.0