update of graphics