I write a new record into a table then update it in code then start another process which queries the aforementioned table. However the table has not been updated and only seems to do so after the entire procedure has been completed. How can I force the table to be updated?