added auto migration.
Merge pull request #4 from vg-spc/added-auto-migration

added auto migration