update to read json