update resource image, add advertise call function