One call to sendUpdate was not refactored causing a js error