added replace task