Preparing update to iPhone OS 4.0