some bugs fixes in update read/unread