Update cursor-type