add extra fields to message