updating text and images