Update and compress images