update the swagger