Update tables

You can update tables for each cell using this new function. 
TODO: call update_tables for nods