add update modal, add autofocus