Update Cursor.scala