write action will add lastupdate attr