adding indexes to speed up scheduledUpdates queries
added indexes to speed up ScheduledUpdate queries