fixed graphics update