Updated flowchart of pipeline