Updating nav mesh after move an object out of the way

I have this obstacles that are movable, the point is to the player remove thos obstacles so he can pass but once i remove them the nav mesh doesnt update and the npcs cant go there and I wanted them to follow me. How can i update the nave mesh in game? i tried putting a nav mesh invoker at the npcs but doesnt seems to work