Update tb3 custom code