Which among StringBuilder or StringBuffer should be preferred when there are a lot of updates required to be done in the data?

Technical