Updated manage_gendev.