update migration script for merge DB