changed the endpoints file