Update function to new command syntax