improve transition
set the cursor in repo
update available comment count