Update API structure