Added example xhr call for updating image metadata