add config and migration