poller - moved update to task instance before task engine execution to avoid deadlocks