call onViewUpdate when images are loaded