update pins/index