rename endpoints