fix model file path issue and do cas update