updating for ios7