added previous content hash field at query model