Fix logic for updating accounts

The old logic was updating the same 1/48th of the accounts every 30 mins