Update document attributes, redux