starred and read state will be written to the database