update graphicalitem