update type conversion