isolated the ballUpdate() method with other ball related operations