added support for image upload (paperclip)