add additional configs support and allow to use more configs for create database