update for ios7