Update main path.