Updated anlyze_all command