updated database, added tags and tag-id