upodated all db to pg