update the swagger path