Update method for toggleCursor.