update work flow