unbind event handlers, update table on query change instead of re-create