update savecategory.php about update function