update wrt to type-conv