add remove to dirty chain