update compare.php/.tpl