Updated the CCDirector