change background index