Modify pig model