working on affected list and updating