updated the work flow