added etag possibility to database