update graphic engine