occupancy update alternative coded