update rectangle and register to reference SbpTextCommand instead of JoveTextCommand