Render updated node data during views render I have a view page which display node titles?

I'm also using workbench moderation module. During views rendering I check nodes and on certain condition I'm publishing the node from draft state using workbench_moderation_moderate($node, 'published');.

So is there any views hook Where i can use to set a revision of a node to publish and then views fetch the node's updated data?

I have tried hook_preprocess_views_view(&amp;$vars) but it moderate the node to publish but then display the updated data on 2nd page referesh.
Assuming this is Drupal 7. 

hook_preprocess_views_view() runs after the query is performed. You could try using hook_views_pre_view() or hook_views_query_alter(), both of which happen before the query runs, and save the nodes at that time. Of course the results of the view will not be available to you then, so you would have to select the nodes in some other way. 

Also neither of these hooks work in themes, you would have to use a custom module. 

https://api.drupal.org/api/views/views.api.php/group/views_hooks/7.x-3.x