Use super glue and a 12x2 mm magnet. You can edit the cylinder in bambu studio to change the size of the magnet hole too.