change attributes in task after migration