Make endorsement update with ajax