put index and persist within setting