Updated Databse to pg fully