Update commands to match new api