changes for db and config