added indexes to background jobs