update internal types