try catch mod db update