fix update-result.php  and  update.php & add add-sub-result.php