update_stats

added function. We may need to talk again about what specific information needs to be stored where.