Updating layout of text and photo