update core graphics