updating to postgres for app deployment