Updated ArrayList and String

Updated ArrayList and String to the latest version