added refresh to migration