UpdatePath function

Update the file path for a Fragment object