saving changes for apidoc controller