Update ball class