update grant handler to fix patent numbers