Added timestamp to max_flows table, and to the query to update that table