synchronize message with table