ajax with paperclip commplete add + update