Update API and docs