change the endpoint's implemention head file