Was not maintaining correct state for modifications!