updated paperclip for image attachment.