update prototypes