updating type -> alias* mapping properly