updates modals