Updated Beeminder callback code.