fix _need_update in gloo.variable