Updated paperclip dependency to 4.0