Update markup for images