flock example update