You are calling an anonymous function instead of your own.
Bind your click like this:
$("td").on("click", updateTile);
EDIT:
The OP want to do other things on click.
So you can use call to be able to use 'this' and an anonym function.
$("td").on("click", function() {
alert("Click");
updateTile.call(this);
});