Update list_messages adding some crude parsing