fixbug with the Update in the jsonstore