replacing

need a function : replace if date(modified)  is different