FROMLIST: psi: split update_stats into parts