Update cache after writing data
you can use cache_clear_all() to clear the caches after you write the new value to the database. it will be best if you can find out the comment's cache id and clear only that one. Unfortunately I don't have any D6 databases on my server to look into the database