update rest to app