fix set file info functions to use the correct api endpoint

updateFileName and updateFileDirectory were using the wrong api endpoints :-1: