sophia-update: separate env init from recover.