Set date for field named updated when document is updated