Updated the endo template