iOS 7 Function update