How do you set Topic Views

I would like to update my topic views in my plugin, so when a user opens a modal of the topic it will update a the view count the same way it already counts them. (The topic view counts are reset once per 8 hours per IP).
Is is possible to update views this way?