update popup try catch