Update bb_editor.cpp