change object after adding to list