add replace tasks