update-doc function

Update an RCOX model