Fixing replies per page and updating chats