Updating the resource component doc.