Update for new cursor callback.