updating for pixel/graphics calculations