Improved sync of photos.