bugfix: updated app.test and updateData logic