modify csv chain