update to use cli