external modal update