modified json parsing of updates
forgot to add this