updated template with postgres info