...and upate all the links?
Good question. There is no function for it, AFAIK. There is an fcode:
...and F_ApiNotify() responds to a rename action with that code, but I wouldn't know how to initiate the process with the code. FCodes work good for simple commands, but I don't know how you would submit the new name, etc. Maybe somebody else knows. If not, you might have to build it yourself.