modify a diary