update modelState