Changed XwindowUpdate() to taking parameters and overloaded