modified database to include link to items