remove invalid framework and add new framework