updated and compressed image