update cbaws script.