Update gbx.cpp