Updates the list by applying the given operation lambda to each element in the stored list.
lambda to update each list item