Update graphic and type