Update ArrayList class