update text and some image optimization