Add messages to tabs and db