updated database config for public viewing