Update the docs for writing plugins for api change