Difficulty API updated