Fetch latest record types and their corrosponding IDs rather than using the hardcoded ones