changed db back to pg