migration with snapshots functionality added