changed db source to pg