update for paperclip