set parentId to http headers