Working on workflow  of encounter updates