update migration script