added paperclip and removed type changing migration