changes to the api model structure