added sql changes, db config changes