Update location and compress images