Fix updateCommunityImage
Fix up the sample.