Updating list has effect on second list