update images and code blocks