update with return when save json