updating plushcap to match python v3