add comment and change intent flag and delete comment