update prototypes with modals