reverse conversation order, added numberOfMessages to database model