updated db config and cap deploy