adding a value updated event and adding tableid to all cell and header click event