updated examples and added cursor demo