Add method to wait until an update to a table has been applied before continuing