Updated pg example

updated with pg example in routes/index.js