update async requires a callback function, it should work with any data in a datastore. It can be quite complicated so read more about it on the api reference: GlobalDataStore:UpdateAsync
local function add_like(oldvalue, keyinfo)
oldvalue.Likes += 1
return oldValue, keyinfo:GetUserIds(), keyinfo:GetMetadata()
end
myDatastore:UpdateAsync("PlayerData", add_like)