updating the paperclip gem data in the model