Updated db to pg