Optimized upload slightly so it knows whats been changed