timestamp modification and light coefficient writing