update on arraylist