it’s not necessarely about loading properties in instance.data. it’s about adding a flag in there when you execute the action you want to run only once.
something like
function update(instance,properties,context){
if(!instance.data.done){
//do your thing here
instance.data.done = true
}