Update sample photo gallery to user new non-sister pattern for setting metadata.