thanks for your help, i still have problem with getFollowing after updateValidity
function getFollowing() {
let follower = wixUsers.currentUser.id
let followed = $w('#dynamicDataset').getCurrentItem();
wixData.query('following')
.eq('followed', followed)
.find();
if (follower == follower) {
$w("#follow").label = "unfollow"
} else {
$w("#follow").label = "follow"
}
}