Ajax to update flagged candidates on network