update stuff appropriately after unsent messages are sent.