some type changes to the pubs models