Check should_update of index before enqueueing task