updated docs to handle getting attachments