using entityId instead of integer id
fetching modified_at and by from the database