rewrote  method of setting field_image_reference to one that actually works