add cursor & update switch system