updated deploy and db config