updated app for new api format