database migration and downgrade added