configured new endpoint
updated controller endpoint