Update Query for WaterFLow Graph