update to use IOS4 block

update to use IOS4 block