updating API document