updates..? C++ style coding