add ball     update in class