update cursor change and style