merge in extra fields if passed through