Completed update form ArrayList to HashMap