updated to new ios sdk