updates in table and profiling functions