Update getTypes