migrate to local