update min version to ios6