update target type