set interval for updating, able to click and drag to create living cells