added is_read to db and code