update prototypical inheritance structure