Update move db declaration to config.yml to improve performance