Update API usage and include example