writeCamToMantra update