The TFS warehouse cube is updated on a schedule (typically hourly). But if you need to update the cube ad-hoc, here is what you do:
2. Run the “Run” operation. You should get a return value of true
3. Run the “GetWarehouseStatus” operation to determine if the update completed (will return Idle).
The invoke operation is available only on the server where TFS is running.