udpating to curren json structure