updated both modals