change content of pySLAM file