When working with WebForm's server controls at the client, It's always recommended to use the control's ClientID when referencing them. So try something like this:
setInterval(function () {
$("#<%= updateButton.ClientID %>").click();
}, 5000);
Or this:
setInterval(function () {
__doPostBack('<%=updateButton.ClientID%>','');
}, 5000);