update modal prefix and uid