update database config for staging