Tesla will update software of more than one million cars in China as well as recall models X, S 3 and Y cars in China over braking defect.