Update calls to main/index