Updated flow chart

partially updated flow chart to include db interaction, will finish
updating later today