updates modal update