upgrade paperclip

Closes #5230