Update advboard.functions.php