updates for API