Update expression document