update modal details