update the resource doc