improve the update function on ajax reqs
improve the update function on ajax reqs

joanma100/agora-ciudadana,agoravoting/agora-ciudadana,joanma100/agora-ciudadana,MareAtlantica/agora-ciudadana,MareAtlantica/agora-ciudadana,agoravoting/agora-ciudadana,pirata-cat/agora-ciudadana,pirata-cat/agora-ciudadana,joanma100/agora-ciudadana,pirata-cat/agora-ciudadana,MareAtlantica/agora-ciudadana,agoravoting/agora-ciudadana,MareAtlantica/agora-ciudadana,joanma100/agora-ciudadana