Database changes to pg