Update references to main branch and update CI