Added method to update a score