add multiple endpoint configure support