update terrain cursor