updated new endpoint