modify api commands with another level for types