update method after rereading that values come in as json