updated ui, added read data.