update profile builder to support multiple schema versions