ios7 update

Updated for ios 7