updated spans for images