layout and image update