updating images, cleaning up styles