Editing the selected brick method