updates path to chai main file