upate to modal