created workaround to update tables