Updating API structure