Record update time when storing a document

@robyoung
@maxfliri