Update uihelper.php