add set command api