updated depends and stats_gen