change api html struct