updated the resource factory documentation