#5 Add environment update with clock