updated goal class so the proper team gets a point