Yes. This is because all the photos taken on an iPhone are automatically saved and synced to iCloud storage; in the same principle, all the photos deleted from the iPhone are also deleted from iCloud storage when it updates.