fix error in updateBrainNode.php