add resource instance