update graphics device functions to discuss