updated example code, added edit data as option on image-editable objects