Ultrafast structural dynamics of photo-reactions observed by time-resolved x-ray cross-correlation analysis