Apple updates iMovie for the iPhone and iPad