updated flowcharts