Change API and index file to reflect new business requirements