Update frontend(with JSON reading)