There is nothing wrong with the syntax but I am not getting the right value of ParentCategoryId. How can I get it?
UPDATE Category SET ParentCategoryId = (