add resource object diagram