updated racetype and profile headers

updated necessary functions and implementations; requires testing