Update the main path