update after migration