updating the templates for cocos2d