update modal and add success message