Move workflow instance database update to persistence service