refactor app to fix updateData
[FIX] updateData + AddToYarn now functional